package com.project.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.project.myBeans.EntitySupport;

import java.sql.Timestamp;
import java.util.Date;

public class AttendExam extends EntitySupport{
    private Integer id;

    private Integer studentid;

    private Integer examid;

    private Float score;

    private String loginip;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp starttime;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Timestamp endtime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStudentid() {
        return studentid;
    }

    public void setStudentid(Integer studentid) {
        this.studentid = studentid;
    }

    public Integer getExamid() {
        return examid;
    }

    public void setExamid(Integer examid) {
        this.examid = examid;
    }

    public Float getScore() {
        return score;
    }

    public void setScore(Float score) {
        this.score = score;
    }

    public String getLoginip() {
        return loginip;
    }

    public void setLoginip(String loginip) {
        this.loginip = loginip == null ? null : loginip.trim();
    }

    public Timestamp getStarttime() {
        return starttime;
    }

    public void setStarttime(Timestamp starttime) {
        this.starttime = starttime;
    }

    public Timestamp getEndtime() {
        return endtime;
    }

    public void setEndtime(Timestamp endtime) {
        this.endtime = endtime;
    }
}